//  Copyright (c) 2013年 mafengwo All rights reserved.
//  Created by hanfeng on 12-11-29.

#import <UIKit/UIKit.h>
#import <CoreText/CoreText.h>

inline CGFloat CTFontGetLineHeight(CTFontRef font);

@interface UIFont (Addition)

@property (nonatomic, readonly) CTFontRef CTFont;

+ (UIFont *)fontWithCTFont:(CTFontRef)ctFont;

+ (CTFontRef)CTFontWithFilePath:(NSString *)filePath size:(CGFloat)size;

+ (CTFontRef)bundledTTFFontNamed:(NSString *)name size:(CGFloat)size;

+ (CGFontRef)CGFontWithFontPath:(NSString *)fontPath;

@end
